home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir30
/
pcdcad.zip
/
BBSINST.BAT
next >
Wrap
DOS Batch File
|
1994-03-31
|
4KB
|
106 lines
echo off
cls
:restart
echo\
echo ┌────────────────────────────────────────────────────────────┐
echo │ PC-Draft-CAD Installation (BBS version) │
echo │ │
echo │ This will create a PCDCAD sub-directory on your │
echo │ current disk. To install on your current hard disk │
echo │ │
echo │ 1 - Unzip PCDCAD.ZIP in a temporary directory or floppy. │
echo │ │
echo │ 2 - Make your hard disk root directory current. │
echo │ ie: for the C: drive: enter: [C:] and [CD \] │
echo │ │
echo │ 3 - Run BBSINST [tempdir] for example if PCDCAD.ZIP is in │
echo │ C:\TEMP, run TEMP\BBSINST C:\TEMP. If on the A: drive, │
echo │ run A:BBSINST A: │
echo │ This will extract all the files from the self- │
echo │ extracting LHARC files and will create a START.BAT │
echo │ file apropriate for your display system. │
echo │ │
echo │ This batch file is for those of you who got │
echo │ PC-Draft-CAD as a single ZIP file from a BBS │
echo │ │
echo │ If you do not wish to continue, press Ctrl-C. │
echo └────────────────────────────────────────────────────────────┘
echo\
pause
if exist %1\pcdcad1.exe goto continue
echo Invalid source drive or directory, Please check and try again.
goto restart
:continue
md pcdcad
md pcdcad\fon
md pcdcad\dwg
md pcdcad\lib
md pcdcad\mac
cd pcdcad
%1\pcdcad3
%1\pcdcad2
%1\pcdcad1
copy *.fon fon
del *.fon
copy *.dwg dwg
del *.dwg
copy *.lib lib
del *.lib
copy *.mac mac
del *.mac
cls
vidtest
if errorlevel 7 goto HERCULES
if errorlevel 5 goto VGACOLOR
if errorlevel 4 goto VGAMONO
if errorlevel 3 goto EGACOLOR
if errorlevel 2 goto EGAMONO
if errorlevel 1 goto CGA
echo Error in detecting video adapter
goto exit2
:HERCULES
set vtype=Hercules
copy hgcstart.bat start.bat
del vgadrv.com
del cgadrv.com
del svgadrv.com
goto exit
:VGACOLOR
set vtype=VGA-Color
goto VGA
:EGACOLOR
set vtype=EGA-Color
goto VGA
:VGAMONO
set vtype=VGA-Mono
copy cga.cfg draft3.cfg
goto MONO
:EGAMONO
set vtype=EGA-Mono
:MONO
copy cga.cfg draft3.cfg
:VGA
copy vgastart.bat start.bat
del hgcdrv.exe
goto exit
:CGA
set vtype=CGA
copy cgastart.bat start.bat
copy cga.cfg draft3.cfg
:exit
echo You have a %vtype% type video display
:exit2
set src=
set vtype=
echo\
echo ┌────────────────────────────────────────────────────────────┐
echo │ Installation is complete. To start PC-Draft-CAD, enter: │
echo │ │
echo │ START │
echo │ │
echo │ To print the user manual, type: COPY DRAFT3.DOC PRN │
echo │ To print READ.ME1, type: COPY READ.ME1 PRN │
echo └────────────────────────────────────────────────────────────┘
echo\
echo\